package com.eii.idm.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 应用相关接口
 */
@Api(tags = "登录跳转")
@Controller
@RequestMapping("/oauth")
public class LoginController {

    @GetMapping("/login")
    @ApiOperation(value = "登录页面")
    public String login(HttpServletRequest request, HttpServletResponse response) {
        return "login.html";
    }
}
